import { Controller, Get } from '@nestjs/common';

/*
 * @Author: Warren
 * @Date: 2025-01-02 10:10:58
 * @LastEditors: Warren
 * @LastEditTime: 2025-01-02 18:40:18
 * @FilePath: /nest-web/src/file/file.controller.ts
 * @Description: 文件处理
 */

@Controller('/file')
export class File {
    @Get('upload')
    upload(str: string) {
        console.log(str);
        return '上传文件';
    }
}
